<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>{% block title %}Admin Home{% endblock %}</title>
        {% block stylesheets %}
        <link href="{{ asset('bundles/katebaadmin/css/bootstrap.min.css') }}" type="text/css" rel="stylesheet" />
        {% endblock %}
        <style type="text/css">
                body {padding-top: 40px;}
                button,input,select,textarea {margin: 5px;}
        </style>
        <link rel="shortcut icon" href="{{ asset('favicon.ico') }}" />
    </head>
    <body>
        <div class="container">
            <div style="z-index: 5;" class="topbar-wrapper">
                <div data-dropdown="dropdown" class="topbar">
                    <div class="topbar-inner">
                        <div class="container">
                            <h3><a href="{{ url('admin_home') }}">Home</a></h3>
                            <ul class="nav">
                                <li><a href="{{ url('sonata_admin_dashboard') }}">Dashboard</a></li>
                                <li><a href="{{ url('logout') }}">Logout</a></li>
                            </ul>
                        </div>
                    </div><!-- /topbar-inner -->
                </div><!-- /topbar -->
            </div>
            <br/>
            {% if app.session.hasFlash('notice') %}
            <div class="alert-message fail">
                <p>{{ app.session.flash('notice') | raw }}</p>
            </div>
            {% endif %}
            {% if app.session.hasFlash('success') %}
            <div class="alert-message success">
                <p>{{ app.session.flash('success') | raw }}</p>
            </div>
            {% endif %}
            {% if app.session.hasFlash('error') %}
            <div class="alert-message error">
                <p>{{ app.session.flash('error') | raw }}</p>
            </div>
            {% endif %}
            {% block body %}{% endblock %}
        </div>
        {% block javascripts %}{% endblock %}
    </body>
</html>
